home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gsrop.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  1.5 KB  |  41 lines

  1. /* Copyright (C) 1995, 1996, 1998 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gsrop.h,v 1.2 2000/09/19 19:00:32 lpd Exp $ */
  20. /* RasterOp / transparency procedure interface */
  21.  
  22. #ifndef gsrop_INCLUDED
  23. #  define gsrop_INCLUDED
  24.  
  25. #include "gsropt.h"
  26.  
  27. /* Procedural interface */
  28.  
  29. int gs_setrasterop(P2(gs_state *, gs_rop3_t));
  30. gs_rop3_t gs_currentrasterop(P1(const gs_state *));
  31. int gs_setsourcetransparent(P2(gs_state *, bool));
  32. bool gs_currentsourcetransparent(P1(const gs_state *));
  33. int gs_settexturetransparent(P2(gs_state *, bool));
  34. bool gs_currenttexturetransparent(P1(const gs_state *));
  35.  
  36. /* Save/restore the combined logical operation. */
  37. gs_logical_operation_t gs_current_logical_op(P1(const gs_state *));
  38. int gs_set_logical_op(P2(gs_state *, gs_logical_operation_t));
  39.  
  40. #endif /* gsrop_INCLUDED */
  41.